package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Crawlerpicture;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface CrawlerpictureService {

	public Crawlerpicture saveCrawlerpicture(Crawlerpicture crawlerpicture);

	public Set<Crawlerpicture> loadCrawlerpictures();

	public Set<Crawlerpicture> loadReferenceCrawlerpictures(Set<Crawlerpicture> crawlerpictures);

	public Set<Crawlerpicture> loadCrawlerpicturesByIdSet(Set<Integer> crawlerpicturesId);

	public Map<String, ?> loadCrawlerpictureObjectReferencedSet(Crawlerpicture crawlerpicture);

	public Map<String, ?> loadCrawlerpictureClassReferencedSet(Crawlerpicture crawlerpicture);

	public void deleteCrawlerpicture(Crawlerpicture crawlerpicture);

	public void deleteCrawlerpictures(Set<Integer> deleteCrawlerpicturesId);

	public List<Crawlerpicture> findAllCrawlerpictures(Integer startResult, Integer maxRows);

	public Crawlerpicture findCrawlerpictureByPrimaryKey(Integer id);

	public Integer countCrawlerpictures();

	public Integer countCrawlerpictures(CmiPagination page);

	public Integer countCrawlerpicturesByName(String queryName);

	public Integer countCrawlerpicturesByDetachedCriteria(CmiPagination page);

}
